package ru.ifmo.ct.network.brafs.file;

/**
 * @author Alex Vikharev vikharev@yandex-team.ru
 *         created 18.04.12
 */
public interface FileHolder {

    byte[] get(String fileId, long segmentId);

    int hash(String fileId, long segmentId);

    void put(String fileId, long segmentId, byte[] data);

    void delete(String fileId, long segmentId);
}
